package com.szeldon.declatest.declaration.scenario.parts;

/**
 * Enumaration for all parts of scenario.
 * 
 * @author szeldon
 * 
 */
public enum ScenarioPartsTypeEnum {

    IF_PART("If"), ELSE_PART("Else"), DO_SCENARIO_STEP_PART("DoScenarioStep"), ERROR_PART("Error"), CHECKPOINT_PART(
            "Checkpoint"), END_PART("End"), RETURN("Return"), NOT_COMPUTED("NotComputed");

    private String name;

    private ScenarioPartsTypeEnum(String name) {
        this.name = name;
    }

    /**
     * Returns name.
     * 
     * @return
     */
    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return name;
    }

}
